11. Demo: Coinbase API Demo
In this demo, we will examine how to utilize a Coinbase API endpoint. This will give you an idea of the general process you will use when accessing and ingesting data using an API.
PRDTM2-785 AI Trading C2 L2 API Demo
Note: The values shown in the video are Unix epoch timestamps. In this example, the API returned minute-level data for a single day instead of daily prices across multiple days. This is because Coinbase endpoint that returns minute-level data when period='day'. As a result, slicing with [-days:] selects minutes, not days.